Pub Sub
The Pub/Sub API enables applications to:
- publish messages on a specific topic;
- subscribe for messages on a specific topic;
When an application publishes a message on a specific topic, the Pub/Sub API delivers it to other applications that have subscribed to that topic.
The "raw Pub/Sub" support allows io.Connect Desktop to work with applications already using a Pub/Sub technology. Before writing new Pub/Sub based code, please consider the higher level Interop services provided by io.Connect Destop: Request/Response, Streaming, Discovery and Shared Contexts. Utilizing these services, instead of creating them from scratch, can save you time and also provide you with a more robust service that can interact with applications by different dev teams and vendors.
The Pub/Sub API is accessible through the io.bus object.